package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 仓库信息对象 t_storage
 * 
 * @author wonderland
 * @date 2023-07-16
 */
public class Storage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String name;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String address;

    /** 仓储费 */
    @Excel(name = "仓储费")
    private Long storageCharge;

    /** 搬运费 */
    @Excel(name = "搬运费")
    private Long shippingFee;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long managerId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStorageCharge(Long storageCharge) 
    {
        this.storageCharge = storageCharge;
    }

    public Long getStorageCharge() 
    {
        return storageCharge;
    }
    public void setShippingFee(Long shippingFee) 
    {
        this.shippingFee = shippingFee;
    }

    public Long getShippingFee() 
    {
        return shippingFee;
    }
    public void setManagerId(Long managerId) 
    {
        this.managerId = managerId;
    }

    public Long getManagerId() 
    {
        return managerId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("storageCharge", getStorageCharge())
            .append("shippingFee", getShippingFee())
            .append("managerId", getManagerId())
            .append("sort", getSort())
            .append("note", getNote())
            .toString();
    }
}
